# locust777


////函数13
//
////加法
//int Add(int x,int y)
//{
//return x+y;
//}
//
////比较
//int Max(int x,int y)
//{
//return (x>y) ? x : y;
//}
//
////交换
//void ch(int* x,int* y)
//{
//int tmp = 0;
//tmp = *x;
//*x = *y;
//*y = tmp;
//}
//
//
//#include<stdio.h>
//#include<windows.h>
//int main()
//{
//	int a = 0;int b = 0;
//	scanf("%d%d",&a,&b);
//	printf("输入前：a = %d，b = %d\n",a,b);
//	printf("相加为：%d\n",Add(a,b));
//	printf("较大的是：%d\n",Max(a,b));
//	ch(&a,&b);
//	printf("交换后：a = %d,b = %d\n",a,b);
//
//system("pause");
//return 0;
//}



//字母转换
#include<stdio.h>
#include<windows.h>
int main()
{
	char n = 0;
	while(scanf("%c",&n) == 1)
	{
	if(n >= 'a' && n <= 'z')
		printf("%c\n",n - 32);
	if(n >= 'A' && n <= 'Z')
		printf("%c\n",n + 32);
	}

system("pause");
return 0;
}
